package com.wxg.common.feign.remote.impl;

import com.wxg.common.core.dao.mysql.global.Dict;
import com.wxg.common.core.dto.Address;
import com.wxg.common.core.dto.PersonDTO;
import com.wxg.common.feign.remote.DictRemote;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author void
 * @date 2019/6/11 11:45
 * @desc
 */
@Slf4j
@Component
public class DictRemoteFallback implements DictRemote {

    @Override
    public Dict query(String name) {
        log.info("DictRemoteImpl.query熔断");
        return null;
    }

    @Override
    public Dict query1(String name) {
        return null;
    }

    @Override
    public Address validDefaultValue() {
        return null;
    }

    @Override
    public Boolean booleanTest1() {
        return null;
    }

    @Override
    public boolean booleanTest2() {
        return false;
    }

    @Override
    public PersonDTO testConstruction() {
        return null;
    }
}
